package com.blackbox.price.mapper;

import com.blackbox.price.entity.BbChildUser;
import com.blackbox.price.entity.BbUser;
import com.blackbox.price.mapper.common.VisionMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: TWQ
 * @Description:
 * @Date: Created in 下午 22:38 2020/8/18 0024
 * @Modidied By: NO
 */
@Mapper
public interface BbChildUserMapper extends VisionMapper<BbChildUser> {

    void setPidToChildUser(@Param("pid") Integer pid, @Param("childIds")List<String> childIds);

    List<BbChildUser> queryChildListByPid(@Param("pid") Integer pid);

    void deleteByPid(@Param("pid") Integer pid);
}
